package cn.mall.auth.service;

import cn.mall.auth.domain.Role;
import cn.mall.auth.dto.RoleMenuDTO;
import cn.mall.auth.dto.RolePermissionDTO;
import cn.mall.base.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jarvis-Smith
 * @since 2023-11-30
 */
public interface IRoleService extends IBaseService<Role> {

    List<String> loadPermissionSnsByRoleId(Long roleId);

    void saveRolePermission(RolePermissionDTO dto);

    void saveRoleMenu(RoleMenuDTO dto);

    List<Long> loadMenuIdByRoleId(Long roleId);

    List<Long> loadRoleIds();
}
